/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package br.com.proteu.hibernate.beans;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 *
 * @author ricardo
 */
@Entity
@Table(name="MEDICTOSAPRESENTACAO")
public class MedictosApresentacaoProteu implements Serializable{

    @Id
    @Column(name="MAP_ST_CODIGO")
    private String mapStCodigo;
    @Column(name="MAP_ST_DESCRICAO")
    private String mapStDescricao;
    @Column(name="MAP_ST_UNID_CONCENTRA")
    private String mapStUnidConcentra;
    @Column(name="MAP_ST_RECEITA")
    private String mapStReceita;
    @Column(name="MAP_ST_USA_EMBAL")
    private String mapStUsaEmbal;
    @Column(name="MAP_ST_CONTAVEL")
    private String mapStContavel;
    @Column(name="MAP_ST_EXIBIR")
    private String mapStExibir;


    public String getMapStCodigo() {
        return mapStCodigo;
    }

    public void setMapStCodigo(String mapStCodigo) {
        this.mapStCodigo = mapStCodigo;
    }

    public String getMapStContavel() {
        return mapStContavel;
    }

    public void setMapStContavel(String mapStContavel) {
        this.mapStContavel = mapStContavel;
    }

    public String getMapStDescricao() {
        return mapStDescricao;
    }

    public void setMapStDescricao(String mapStDescricao) {
        this.mapStDescricao = mapStDescricao;
    }

    public String getMapStExibir() {
        return mapStExibir;
    }

    public void setMapStExibir(String mapStExibir) {
        this.mapStExibir = mapStExibir;
    }

    public String getMapStReceita() {
        return mapStReceita;
    }

    public void setMapStReceita(String mapStReceita) {
        this.mapStReceita = mapStReceita;
    }

    public String getMapStUnidConcentra() {
        return mapStUnidConcentra;
    }

    public void setMapStUnidConcentra(String mapStUnidConcentra) {
        this.mapStUnidConcentra = mapStUnidConcentra;
    }

    public String getMapStUsaEmbal() {
        return mapStUsaEmbal;
    }

    public void setMapStUsaEmbal(String mapStUsaEmbal) {
        this.mapStUsaEmbal = mapStUsaEmbal;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final MedictosApresentacaoProteu other = (MedictosApresentacaoProteu) obj;
        if ((this.mapStCodigo == null) ? (other.mapStCodigo != null) : !this.mapStCodigo.equals(other.mapStCodigo)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 5;
        hash = 59 * hash + (this.mapStCodigo != null ? this.mapStCodigo.hashCode() : 0);
        return hash;
    }

    

}
